export default class GroundController {
  static list(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/list",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static view(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/view",
      "get",
      params,
      axiosOption,
      httpOption
    );
  }

  static add(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/add",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static update(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/update",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static delete(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/delete",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static startOnlyGroundflw(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/startOnly/groundflw",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static startWithBusinessKeyGroundflw(
    sender,
    params,
    axiosOption,
    httpOption
  ) {
    return sender.doUrl(
      "/admin/upms/ground/startWithBusinessKey/groundflw",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static startAndTakeUserTaskGroundflw(
    sender,
    params,
    axiosOption,
    httpOption
  ) {
    return sender.doUrl(
      "/admin/upms/ground/startAndTakeUserTask/groundflw",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static startAndSaveDraftGroundflw(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/startAndSaveDraft/groundflw",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static submitUserTaskGroundflw(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/submitUserTask/groundflw",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static viewTaskBusinessDataGroundflw(
    sender,
    params,
    axiosOption,
    httpOption
  ) {
    return sender.doUrl(
      "/admin/upms/ground/viewTaskBusinessData/groundflw",
      "get",
      params,
      axiosOption,
      httpOption
    );
  }

  static viewHistoricTaskBusinessDataGroundflw(
    sender,
    params,
    axiosOption,
    httpOption
  ) {
    return sender.doUrl(
      "/admin/upms/ground/viewHistoricTaskBusinessData/groundflw",
      "get",
      params,
      axiosOption,
      httpOption
    );
  }

  static listWorkOrderGroundflw(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/listWorkOrder/groundflw",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static getArea(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/areaData/list",
      "post",
      params,
      axiosOption,
      httpOption
    );
  }

  static all(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/all",
      "get",
      params,
      axiosOption,
      httpOption
    );
  }

  static confirm(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/confirm",
      "get",
      params,
      axiosOption,
      httpOption
    );
  }

  static count(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/countByType",
      "get",
      params,
      axiosOption,
      httpOption
    );
  }

  static area(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/areaData",
      "get",
      params,
      axiosOption,
      httpOption
    )
  }

  static changeStatus(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/changeStatus",
      "get",
      params,
      axiosOption,
      httpOption
    )
  }

  static getLog(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      "/admin/upms/ground/footprint",
      "post",
      params,
      axiosOption,
      httpOption
    )
  }

}
